public class ArrayReverse02 {
    public static void main(String[] args) {
        //使用逆序赋值方式
        int[] arr1 = {11,22,33,44,55,66};
        int len = arr1.length-1;
        int[] arr2 = new int[arr1.length];
        for (int i = len,j = 0;i >= 0;i--,j++) {
            arr2[j] = arr1[i];
        }
        arr1 = arr2;
        for (int i = 0;i < arr1.length;i++) {
            System.out.println(arr1[i]);
        }
    }
}
